import React, { Component } from 'react';

export default class index extends Component {

  componentDidMount(){
    console.log("componentDidMount");
  }

  render() {
    return (
      <div>
        <h1>子组件B</h1>
        <p>count:{this.props.count}</p>
      </div>
    )
  }
}
